import { createApp } from 'vue'
import './style.scss'
import App from './App.vue'
import router from './router' // 导航
import ElementPlus, { ElMessage } from 'element-plus' // Elementplus
import 'element-plus/dist/index.css'
import './assets/scss/variable.scss'
import i18n from './lang/i18n'

const app = createApp(App)
app.use(router)
app.use(ElementPlus)
app.use(i18n)
app.config.globalProperties.$message = ElMessage // 全局封装ElMessage
app.mount('#app')
